import request from '@/utils/request'

export const getIndexApi = () => {
  // params 提交的是 { advposdesc:'',advposname:'',page:'', limit:''}
  return request({
    url: '/admin/index/baseInfo',
    method: 'get'
    // params: params  // axios写在params里面的信息会自动拼接到路径地址上变成查询参数(query参数)
  })
}
